package com.example.test003.service.impl;

import com.example.test003.mapper.VideoTokenCityMapper;
import com.example.test003.mapper.VideoTokenMapper;
import com.example.test003.pojo.VideoToken;
import com.example.test003.pojo.VideoTokenCity;
import com.example.test003.service.VideoTokenCityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VideoTokenCityServiceImpl implements VideoTokenCityService {

    @Autowired
    private VideoTokenCityMapper videoTokenCityMapper;

    @Override
    public VideoTokenCity getAppkeyAndSecret(String cityname) {
        VideoTokenCity videoTokenCity=videoTokenCityMapper.getAppkeyAndSecret(cityname);
        return videoTokenCity;
    }
}
